package org.csu.onlineedubackend.service;

import org.csu.onlineedubackend.entity.Log;
import java.lang.String;
import java.lang.Integer;
import java.lang.Float;

public interface LogService {
    void recordLogin(Integer userId, String username, String ip, String userAgent, boolean success, String message);

    void recordLogout(Integer userId, String username, String ip, String userAgent, String message);

    void recordCourseLike(Integer userId, String username, Integer courseId, String courseName, String ip, String userAgent, boolean isLike);

    void recordCourseSubscribe(Integer userId, String username, Integer courseId, String courseTitle, String ip, String userAgent, boolean isSubscribe);

    void recordCourseComment(Integer userId, String username, Integer courseId, String courseTitle, String content, Integer rating, String ip, String userAgent);

    void recordCourseProgress(Integer userId, String username, Integer courseId, String courseTitle, Float progress, String ip, String userAgent);

    void recordTeacherCourseOperation(Integer teacherId, String username, Integer courseId, String courseTitle, String action, String detail, String ip, String userAgent);
}